package com.wmh.baseservice.operationaid.pojo.vo.product.monitor;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author 谢骏
 * @date 2023/9/25 14:41
 **/
@Data
@Accessors(chain = true)
public class ProductMonitorUpdateReqVO {

    @NotNull(message = "未提交主键")
    private Long id;

    @NotBlank(message = "未提交描述")
    @Size(min = 2, max = 255, message = "描述长度在 2 ~ 255 个字符之间")
    private String description;
}
